The Dreamweaver JavaScript API > Enablers > dom.canApplyTemplate()

 

dom.canApplyTemplate()

Availability

Dreamweaver 3.0

Description

Checks whether Dreamweaver can perform an Apply To Page operation. This function is valid only for the active document.

Arguments

None.

Returns

A Boolean value indicating whether the document is not a library item or a template, and that the selection is not within the NOFRAMES tag.